package model

type UsernameMapping struct {
	Id       uint64 `json:"id,omitempty"`
	UserId   int64  `json:"user_id,omitempty"`
	Username string `json:"username,omitempty"`
}

type UsernameMapping1 UsernameMapping
type UsernameMapping2 UsernameMapping
type UsernameMapping3 UsernameMapping
type UsernameMapping4 UsernameMapping
type UsernameMapping5 UsernameMapping
type UsernameMapping6 UsernameMapping
type UsernameMapping7 UsernameMapping
type UsernameMapping8 UsernameMapping
type UsernameMapping9 UsernameMapping
type UsernameMapping10 UsernameMapping

func (UsernameMapping1) TableName() string {
	return "username_mapping1"
}
func (UsernameMapping2) TableName() string {
	return "username_mapping2"
}
func (UsernameMapping3) TableName() string {
	return "username_mapping3"
}
func (UsernameMapping4) TableName() string {
	return "username_mapping4"
}
func (UsernameMapping5) TableName() string {
	return "username_mapping5"
}
func (UsernameMapping6) TableName() string {
	return "username_mapping6"
}
func (UsernameMapping7) TableName() string {
	return "username_mapping7"
}
func (UsernameMapping8) TableName() string {
	return "username_mapping8"
}
func (UsernameMapping9) TableName() string {
	return "username_mapping9"
}
func (UsernameMapping10) TableName() string {
	return "username_mapping10"
}

func (UsernameMapping) Table(n uint32) interface{} {
	switch n {
	case 1:
		var user UsernameMapping1
		return user
	case 2:
		var user UsernameMapping2
		return user
	case 3:
		var user UsernameMapping3
		return user
	case 4:
		var user UsernameMapping4
		return user
	case 5:
		var user UsernameMapping5
		return user
	case 6:
		var user UsernameMapping6
		return user
	case 7:
		var user UsernameMapping7
		return user
	case 8:
		var user UsernameMapping8
		return user
	case 9:
		var user UsernameMapping9
		return user
	case 10:
		var user UsernameMapping10
		return user
	}

	return nil
}
